import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { ThemeProvider } from './contexts/ThemeContext'
import { AuthProvider } from './contexts/AuthContext'
import 'antd/dist/reset.css'
import 'virtual:uno.css'
import './styles/main.scss'
import './styles/components.scss'
import './styles/auth.scss'
import './styles/register-modal.scss'
import './utils/createTestUser'
import App from './App.tsx'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <ThemeProvider>
      <AuthProvider>
        <App />
      </AuthProvider>
    </ThemeProvider>
  </StrictMode>,
)
